FROM 172.21.128.109/pythonos/pythonos:v1.1
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
ADD . /src
COPY deploy/prod/entrypoint-prod.sh /src/entrypoint-prod.sh
COPY deploy/prod/uwsgi.ini /src/uwsgi.ini
RUN chmod +x /src/entrypoint-prod.sh
WORKDIR /src
EXPOSE 80
ENTRYPOINT ["/bin/bash", "/src/entrypoint-prod.sh"]

